home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
appsrcs.zip
/
APPBAR.ZIP
/
APPBAR.MAK
< prev
next >
Wrap
Makefile
|
1993-05-05
|
2KB
|
118 lines
PROJ = APPBAR
PROJFILE = APPBAR.MAK
DEBUG = 0
PWBRMAKE = pwbrmake
NMAKEBSC1 = set
NMAKEBSC2 = nmake
BRFLAGS = /o $(PROJ).bsc
BROWSE = 0
LINKER = link
ILINK = ilink
LRF = echo > NUL
BIND = bind
RC = rc
IMPLIB = implib
LFLAGS_G = /BATCH
LFLAGS_D = /CO /INC /NOF
LFLAGS_R = /NOF /NOP /BATCH
MAPFILE_D = NUL
MAPFILE_R = NUL
CC = cl
CFLAGS_G = /AM /W4 /G2 /Gw /Zp /BATCH
CFLAGS_D = /Zi /Gi$(PROJ).mdt /Od /Gs /FPa
CFLAGS_R = /Ot /Og /Oe /FPc /Gs
LLIBS_R = /NOD:MLIBCE MLIBCEW
LLIBS_D = /NOD:MLIBCA MLIBCAW
LLIBS_G = LIBW.LIB isdos shell mmsystem commdlg ctl3d
ASM = masm
AFLAGS_G = /Mx /T
AFLAGS_D = /Zi
DEF_FILE = APPBAR.DEF
OBJS = APPBAR.obj APPEXEC.obj APPTOOLS.obj APPDLGS.obj APPDRAW.obj APPGRP.obj\
APPKEYB.obj APPDROP.obj
RESS = APPBAR.res
all: $(PROJ).exe
.SUFFIXES: .rc .res .c .obj
APPBAR.obj : APPBAR.C
APPBAR.res : APPBAR.RC
APPEXEC.obj : APPEXEC.C
APPTOOLS.obj : APPTOOLS.C
APPDLGS.obj : APPDLGS.C
APPDRAW.obj : APPDRAW.C
APPGRP.obj : APPGRP.C
APPKEYB.obj : APPKEYB.C
APPDROP.obj : APPDROP.C
$(PROJ).bsc :
$(PROJ).exe : $(DEF_FILE) $(OBJS) $(RESS)
!IF $(DEBUG)
$(LRF) @<<$(PROJ).lrf
$(RT_OBJS: = +^
) $(OBJS: = +^
)
$@
$(MAPFILE_D)
$(LLIBS_G: = +^
) +
$(LLIBS_D: = +^
) +
$(LIBS: = +^
)
$(DEF_FILE) $(LFLAGS_G) $(LFLAGS_D);
<<
!ELSE
$(LRF) @<<$(PROJ).lrf
$(RT_OBJS: = +^
) $(OBJS: = +^
)
$@
$(MAPFILE_R)
$(LLIBS_G: = +^
) +
$(LLIBS_R: = +^
) +
$(LIBS: = +^
)
$(DEF_FILE) $(LFLAGS_G) $(LFLAGS_R);
<<
!ENDIF
!IF $(DEBUG)
$(ILINK) -a -e "$(LINKER) @$(PROJ).lrf" $@
!ELSE
$(LINKER) @$(PROJ).lrf
!ENDIF
$(RC) $(RESS) $@
.rc.res :
$(RC) /r $<
.c.obj :
!IF $(DEBUG)
$(CC) /c $(CFLAGS_G) $(CFLAGS_D) /Fo$@ $<
!ELSE
$(CC) /c $(CFLAGS_G) $(CFLAGS_R) /Fo$@ $<
!ENDIF
run: $(PROJ).exe
WIN $(PROJ).exe $(RUNFLAGS)
debug: $(PROJ).exe
WIN CVW $(CVFLAGS) $(PROJ).exe $(RUNFLAGS)